package com.gmgx.hrms.biz.impl;

import com.gmgx.hrms.biz.RoleBiz;
import com.gmgx.hrms.dao.RoleDao;
import com.gmgx.hrms.dao.impl.RoleDaoImpl;
import com.gmgx.hrms.entity.Role;

import java.util.List;

public class RoleBizImpl implements RoleBiz {
    private RoleDao dao=new RoleDaoImpl();
    @Override
    public List<Role> getAllRole() {
        return dao.queryAllRole();
    }
}
